/*
 * CategoryTreeTitleItem.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.CategoryTreeTitleHolder;

/** 分类 右边 标题 */
public class CategoryTreeTitleItem extends DisplayListItem<CategoryTreeTitleHolder, String> {

    public CategoryTreeTitleItem(String s) {
        super(s);
    }

    @Override
    public void onShow(final Context context, CategoryTreeTitleHolder holder) {
        holder.mTvTitle.setText(data);
    }

    @Override
    public String getDisplayItemTag() {
        return CategoryTreeTitleItem.class.getSimpleName();
    }

    @Override
    public Class<CategoryTreeTitleHolder> getViewHolderClazz() {
        return CategoryTreeTitleHolder.class;
    }
}
